package cn.madis.ymcc.dto;

import cn.madis.ymcc.domain.CourseType;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseTypeTreeDto extends CourseType {
    private String label;
    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private List<CourseTypeTreeDto> children;
}
